/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React, { Component } from 'react';
import { Platform, StyleSheet, Text, View } from 'react-native';
import {Navigator} from 'react-native-deprecated-custom-components'
import Home from './Home';

export default class App extends React.Component{
	render() {
	    return ( 
	    	<Navigator
					initialRoute={{
						name: 'home',
						component: Home
					}}
					configureScene={(route) => {
						return Navigator.SceneConfigs.FloatFromRight;
					}}
					renderScene={(route, navigator) => {
						const Component = route.component;
						return <Component {...route.params} navigator={navigator}/>
					}}/>
	    );
		}
}

const styles = StyleSheet.create({
    
});